package com.rxh.service;

import com.rxh.pojo.Result;
import com.rxh.pojo.core.*;
import com.rxh.pojo.merchant.MerchantGoods;
import com.rxh.pojo.risk.RiskOrderTrack;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: 陈俊雄
 * Date: 2018/9/12
 * Time: 9:56
 * Project: Management
 * Package: com.rxh.service
 */
public interface PaymentRecordService {
    int insertOrderTrack(RiskOrderTrack orderTrack);

    Result<CoreOrder> insertCoreOrder(CoreOrder order);

    int insertMerchantOrder(CoreMerchantOrder merchantOrder);

    int insertMerchantOrderRmb(CoreMerchantOrderRmb merchantOrderRmb);

    int insertOrderDetail(CoreOrderDetail orderDetail);

    int insertCardholder(CoreCardholder cardholder);

    int insertCardDetail(CoreCardDetail cardDetail);

    int insertChannelOrderInfo(ChannelOrderInfo channelOrderInfo);

    int insertOrderGoods(List<CoreOrderGoods> orderGoods);

    int insertMerchantGoods(List<MerchantGoods> merchantGoods);

    List<MerchantGoods> selectMerchantGoodsBy();

    int updateOrderByPrimaryKeySelective(CoreOrder order);

    CoreCardholder selectCardholderByOrderIdAnd(CoreCardholder cardholder);
}
